package com.wangp.print.controller;

import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.wangp.print.entity.Student;

@Controller
public class TestController{

	
	@RequestMapping("/hello")
	public String hello(Map<String ,Student> map){
		Student student = new Student();
		student.setName("zhangsna");
		student.setAge(18);
		map.put("student", student);
		System.out.println(1);
		return "student";
	}
	
	
	
}
